<?php
class Community extends AppModel {

	var $name = 'Community';
	var $validate = array(
		'name' => array('notempty'),
		'web_url' => array('url'),
		'mobil_url' => array('url')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $hasMany = array(
		'Account' => array(
			'className' => 'Account',
			'foreignKey' => 'community_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>